package lang;

public class JDK8JavaClassMethodIsArray {
    public static void main(String[] args) {
        String[] test1 = {"1","2"};
        String[][] test2 = {{"1","2"},{"1","2"}};
        String string = "0";

        System.out.println(test1.getClass().isArray());
        System.out.println(test2.getClass().isArray());
        System.out.println(string.getClass().isArray());
    }
}
